package two_xia.ex2.three01;

import java.util.Scanner;

public class Nvwa {
    
    public static void main(String[] args) {
        while (true) {
            Scanner s = new Scanner(System.in);
            System.out.println("请输入W,M,R三者之一");
            Person p = PersonUtil.getPersonType(s.next());
            if (p != null) {
                p.create();
            }
        }
    }

}
